/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmachine.dataObjects;

import java.util.Collection;
import ticketmachine.logic.Promotion;

/**
 *
 * @author oiiv2253
 */
public interface IPromotionDAO {

    public Promotion getPromotionById(int id);

    public Collection<Promotion> listPromotions();

    public int createPromotion(String name, float discount, String valid_from, String valid_until, String discaountStrategyClass);

}
